package com.zb.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author WEN
 * @Date 2024/4/11 0011
 **/
@Data
@ApiModel("工单待审核事件")
public class WorkWaitCheckOrderEvent {
    @ApiModelProperty(value = "事件类型：1-服务费用待审核，2-工单配件待审核，3-结单待审核 ，4-取消工单待审核，5-改派服务商待审核，6-工单挂起待审核")
    private Integer type;

    @ApiModelProperty(value = "事件ID")
    private Long id;

    @ApiModelProperty(value = "事件单号")
    private String code;

    @ApiModelProperty(value = "事件申请时间")
    private Date applyTime;

    public WorkWaitCheckOrderEvent() {
    }

    public WorkWaitCheckOrderEvent(Integer type, Long id, Date applyTime) {
        this.type = type;
        this.id = id;
        this.applyTime = applyTime;
    }

    public WorkWaitCheckOrderEvent(Integer type, Long id, String code, Date applyTime) {
        this.type = type;
        this.id = id;
        this.code = code;
        this.applyTime = applyTime;
    }
}
